//
//  ZHSelectClassifyTableViewCell.m
//  sc-cyan-ios
//
//  Created by lj on 2018/1/2.
//  Copyright © 2018年 greenbuilding. All rights reserved.
//

#import "ZHSelectClassifyTableViewCell.h"


#import "ZHSelectClassifyChild.h"

@interface ZHSelectClassifyTableViewCell()

@property (weak, nonatomic) IBOutlet UIButton *selBtn;
@property (weak, nonatomic) IBOutlet UILabel *titleL;

@end

@implementation ZHSelectClassifyTableViewCell

static NSString *const cellID = @"SelectClassify";

- (void)awakeFromNib {
    [super awakeFromNib];
}

- (void)setChild:(ZHSelectClassifyChild *)child{
    
    _child = child;
    
    _selBtn.selected = child.isSel;
    
    _titleL.text = child.title;
    

}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
